package com.efast.dmom.equipment.statemach.handler.checking;

import java.util.Date;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;
import com.efast.cafe.framework.jdbc.JdbcDao;
import com.efast.dmom.equipment.entity.EquipCheckingOrder;
import com.efast.dmom.equipment.statemach.handler.base.HandleBaseProcessorService;

@Component
//@StatemachHandle(handleName="exec",configId=1000)
public class EquipCheckingOrderExecHandler  implements HandleBaseProcessorService<EquipCheckingOrder>{

	

    @Autowired
    private JdbcDao jdbcDao;
    @Override
    public void process(JSONObject taskBean, EquipCheckingOrder bean, Map<String,JSONObject> map) {
        //设置实际开始时间
       bean.setActualStartTime(new Date());
    }
}
